Safety in Flexible Dynamic Linking
نویسندگان
چکیده
Dynamic linking lets programs use the most recent versions of classes without re-compilation. In Java and .NET, bytecode specifies which classes should be dynamically linked. This information represents the compiler’s knowledge of the compilation environment, but the execution environment might be different. For example, the execution environment on a mobile phone might provide fewer, simpler classes than on a desktop PC. As bytecode cannot adapt to its execution environment, component reuse is restricted and development costs are increased. We suggest flexible dynamic linking that binds bytecode as late as possible to the classes available in an execution environment. Rather than specifying classes, bytecode contains type variables that are substituted by classes as late as execution. We present a non-deterministic model that treats substitution as a linking step, and interleaves linking with execution. We examine how linking builds a well-formed program and prove soundness for the laziest substitution strategy, representing the most general execution.
منابع مشابه
Flexible , source level dynamic linking and re - linking � – Work in Progress –
We give a formal semantics for dynamic linking and re-linking of code. The semantics is at source language level, and allows linking at a finer grain than current Java or C# implementations: Besides supporting the loading and verification of classes interleaved with program execution, it also allows type-safe removal and replacement of classes, fields and methods. Such extended features support...
متن کاملSafe and Flexible Dynamic Linking of Native Code
We present the design and implementation of the first complete framework for flexible and safe dynamic linking of native code. Our approach extends Typed Assembly Language with a primitive for loading and typechecking code, which is flexible enough to support a variety of linking strategies, but simple enough that it does not significantly expand the trusted computing base. Using this primitive...
متن کاملFlexible Dynamic Linking for .NET
A .NET application is a set of assemblies developed or reused by programmers, and tested together for correctness and performance. Each assembly’s references to other assemblies are type-checked at compile-time and embedded into the executable image, from where they guide the dynamic linking process. We propose that an application can potentially consist of multiple sets of assemblies, all know...
متن کاملMaximum Allowable Dynamic Load of Flexible 2-Link Mobile Manipulators Using Finite Element Approach
In this paper a general formulation for finding the maximum allowable dynamic load (MADL) of flexible link mobile manipulators is presented. The main constraints used for the algorithm presented are the actuator torque capacity and the limited error bound for the end-effector during motion on the given trajectory. The precision constraint is taken into account with two boundary lines in plane w...
متن کاملDynamic Analysis of A Three-Rotor Flexible Coupling with Angular Misalignment
In this paper, the dynamic response of a three-rotor flexible coupling to the angularmisalignment has been studied. The coupling is a power transmission agent between the motor andgearbox, in the power transmission system of SAG Mill (semi autogenously mill) in the Gol-e-Gohariron ore complex in Sirjan, Iran. Degrees of freedom of the system are the model's lateral deflectionsand the rigid-body...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2004